package com.learn.jdk;

import java.util.Objects;

/**
 * Copyright: Copyright (c) 2019 Asiainfo
 *
 * @ClassName: com.learn.jdk.Java
 * @Description: 该类的功能描述
 * @version: v1.0.0
 * @author: lipan
 * @date: 2019/10/6 9:59
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ------------------------------------------------------------
 * 2019/10/6      lipan          v1.0.0               修改原因
 */

@FunctionalInterface
public interface MyInterface {

    void test();



    //这个是继承至object对象count不会加1
    @Override
    String toString();


    //这个是非抽象方法。count不会加1
     static  void test1(){
        Objects.requireNonNull(null,"不能为空");
    }

    public static void main(String[] args) {
        test1();
    }
}
